#ifndef DCOMMANDLINKBUTTON_H
#define DCOMMANDLINKBUTTON_H

#include "devcommon_global.h"

#include <QAbstractButton>

class QStyleOptionButton;
class DEVCOMMONSHARED_EXPORT DCommandLinkButton : public QAbstractButton
{
    Q_OBJECT

public:
    explicit DCommandLinkButton(const QString text, QWidget *parent = nullptr);

    QSize sizeHint() const override;

protected:
    void initStyleOption(QStyleOptionButton *option) const;
    void paintEvent(QPaintEvent *e) override;
};


#endif // DCOMMANDLINKBUTTON_H
